package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.Stage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;import java.util.List;
@Mapper
public interface StageMapper {
    int deleteByPrimaryKey(String id);

    int insert(Stage record);

    int insertSelective(Stage record);

    Stage selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Stage record);

    int updateByPrimaryKey(Stage record);

    Stage selectByOrderId(@Param("orderId") String orderId);

    int updateStateByOrderId(@Param("state") Integer state, @Param("orderId") String orderId);

    List<Stage> selectAll();


}